package com.gym.util.v3;

import com.gym.util.pojo.v3.ProfitSharing.bo.WxProfitSharingBo;
import com.gym.util.pojo.v3.ProfitSharing.vo.WxProfitSharingVo;

public class WxProfitSharingUtil {

    /**
     * 分账
     *
     * @param url                请求地址
     * @param mchid              商户ID
     * @param serial_no          证书序列号
     * @param wxProfitSharingBo  分账请求参数
     * @param privateKeyFilePath 私钥的路径
     * @return 分账结果
     * @throws Exception 异常
     */
    public static WxProfitSharingVo profitSharing(String url, String mchid, String serial_no, WxProfitSharingBo wxProfitSharingBo, String privateKeyFilePath) throws Exception {
        return WxPayV3Util.profitSharing(url, wxProfitSharingBo, mchid, serial_no, privateKeyFilePath);
    }
}
